<?php 
$this->E_D("DROP TABLE IF EXISTS `db_template_recycle`;");
$this->E_C("CREATE TABLE `db_template_recycle` (
  `template_id` smallint(11) NOT NULL,
  `delete_time` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `lang` varchar(20) DEFAULT NULL COMMENT '语言',
  `type` varchar(20) NOT NULL COMMENT 'index,list,view,public',
  `myvar` varchar(20) DEFAULT NULL COMMENT '变更名称',
  `sort` int(6) NOT NULL DEFAULT '0',
  `isdefault` tinyint(1) NOT NULL DEFAULT '0' COMMENT '默认首页模板',
  `content` longtext NOT NULL,
  PRIMARY KEY (`template_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8");
$this->E_D("replace into `db_template_recycle` values('3','1636966576','产品内容模板',NULL,'view','','0','0','<!DOCTYPE html>
<html class=\"\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"content-type\" content=\"text/html\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"renderer\" content=\"webkit\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">
<title>{\$pagetitle}-{\$sitename}</title>
<meta name=\"keywords\" content=\"{\$keywords}\">
<meta name=\"description\" content=\"{\$description}\">
<link href=\"/static/skin/css/font-awesome.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/static/skin/css/animate.min.css\">
<link href=\"/static/skin/css/nav.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/nav2.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/swiper.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/global.css\" rel=\"stylesheet\">



</head>
<body class=\"index\">
{include \"header.html\"}
{\$content|raw}

{include \"footer.html\"}
<script type=\"text/javascript\" src=\"/static/skin/js/jquery-3.5.1.min.js\"></script>
<script src=\"/static/skin/js/global.js\"></script>
<script src=\"/static/skin/js/wow.js\"></script>
<script src=\"/static/skin/js/nav.js\"></script>
<script src=\"/static/skin/js/plugin2.js\"></script>
<script type=\"text/javascript\">
    jQuery(\".slideTxtBox\").slide({trigger:\"click\"});
</script>
<script>
    wow = new WOW(
      {
        animateClass: ''animated'',
        offset:       80
      }
    );
    wow.init();
    
    //判断浏览器大小加上事件
	var width=\$(window).width();
	if(width <= 700) {
		   wow = new WOW(
	      {
	        animateClass: ''animated'',
	        offset:       50
	      }
	    );
	    wow.init();
	}
</script>
</body>
</html>');");
$this->E_D("replace into `db_template_recycle` values('15','1635150169','集锦学院-列表模板',NULL,'list',NULL,'0','0','<!DOCTYPE html>
<html class=\"\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"content-type\" content=\"text/html\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"renderer\" content=\"webkit\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">
<title>{\$pagetitle}-{\$sitename}</title>
<meta name=\"keywords\" content=\"{\$keywords}\">
<meta name=\"description\" content=\"{\$description}\">
<link href=\"/static/skin/css/font-awesome.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/static/skin/css/animate.min.css\">
<link href=\"/static/skin/css/nav.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/nav2.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/swiper.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/global.css\" rel=\"stylesheet\">



</head>
<body class=\"index\">
{include \"header.html\"}
<div class=\"Case_banner News_banner\">
	<div class=\"Case_banner_img\"><img src=\"/static/skin/images/bg10.jpg\" /></div>
    <div class=\"News_banner_content\">
    	<div class=\"banner_content_title\">集锦学院</div>
        <form class=\"banner_content_search\">
        	<input type=\"text\" placeholder=\"请输入您要搜索的关键词\" />
        	<input type=\"submit\" value=\"搜索\" />
        </form>
        <div class=\"banner_content_btn\">
        	<a href=\"#\" class=\"content_btn_list\">
            	<dd><img src=\"/static/skin/images/bn23.png\" /></dd>
                <dt>最佳实践</dt>
            </a>
        	<a href=\"#\" class=\"content_btn_list\">
            	<dd><img src=\"/static/skin/images/bn24.png\" /></dd>
                <dt>客户案例</dt>
            </a>
        	<a href=\"#\" class=\"content_btn_list\">
            	<dd><img src=\"/static/skin/images/bn25.png\" /></dd>
                <dt>视频中心</dt>
            </a>
        	<a href=\"#\" class=\"content_btn_list\">
            	<dd><img src=\"/static/skin/images/bn26.png\" /></dd>
                <dt>开发者资源</dt>
            </a>
        </div>
    </div>
</div>







<div class=\"pc_all News\">
	<div class=\"pc_all_content\">
    	<div class=\"News_left\">
        	<div class=\"News_left_title\">文章分类</div>
            <div class=\"News_left_content\">
            {cat pid=\"11\"}
                <a href=\"{\$v.caturl}\" class=\"left_content_list {if \$v.catid==\$catid}on{/if}\">
                    <dd>{\$v.name}</dd>
                    <i class=\"fa fa-angle-right\"></i>
                </a>
            {/cat}
            </div>
        </div>
        <div class=\"News_right\">
        	<div class=\"News_right_title\">
            	<div class=\"right_title_left\">{\$name}</div>
                <div class=\"right_title_right\">
                    {nav homeStr=\"<a href=''/''>首页</a>\" split=\"<i class=''fa fa-angle-right''></i>\"}
                </div>
            </div>
            <div class=\"News_right_content\">
            {foreach \$data as \$v}
            	<div class=\"right_content_list\">
                	<div class=\"content_list_left\">
                        <a href=\"{\$v.titleurl}\" class=\"content_list_title\">{\$v.title}</a>
                        <a href=\"{\$v.titleurl}\" class=\"content_list_txt\">{\$v.description}</a>
                        <div class=\"content_list_tag\">
                            <div class=\"list_tag_title\">{\$v.author}</div>
                            <div class=\"list_tag_time\">{\$v.newstime|date=\"Y-m-d\"}</div>
                            <div class=\"list_tag_data\">
                                <img src=\"/static/skin/images/bn27.png\" />
                                <?php
                                \$keyArr=explode(\",\",\$v[''keywords'']);
                                ?>
                                {foreach \$keyArr as \$keywords}
                                <a href=\"#\">{\$keywords}</a>
                                {/foreach}
                            </div>
                        </div>
                     </div>
                </div>
            {/foreach}
            </div>
            <div class=\"page\">{\$pagelist|raw}</div>
        </div>
	</div>
</div>
{include \"footer.html\"}
<script type=\"text/javascript\" src=\"/static/skin/js/jquery-3.5.1.min.js\"></script>
<script src=\"/static/skin/js/global.js\"></script>
<script src=\"/static/skin/js/wow.js\"></script>
<script src=\"/static/skin/js/nav.js\"></script>

<script>
    wow = new WOW(
      {
        animateClass: ''animated'',
        offset:       80
      }
    );
    wow.init();
    
    //判断浏览器大小加上事件
	var width=\$(window).width();
	if(width <= 700) {
		   wow = new WOW(
	      {
	        animateClass: ''animated'',
	        offset:       50
	      }
	    );
	    wow.init();
	}
</script>
</body>
</html>');");
$this->E_D("replace into `db_template_recycle` values('17','1616050245','关于我们模板',NULL,'page',NULL,'0','0','关于我们模板');");
$this->E_D("replace into `db_template_recycle` values('24','1635150167','客户案例-列表模板',NULL,'list',NULL,'0','0','<!DOCTYPE html>
<html class=\"\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"content-type\" content=\"text/html\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"renderer\" content=\"webkit\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">
<title>{\$pagetitle}-{\$sitename}</title>
<meta name=\"keywords\" content=\"{\$keywords}\">
<meta name=\"description\" content=\"{\$description}\">
<link href=\"/static/skin/css/font-awesome.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/static/skin/css/animate.min.css\">
<link href=\"/static/skin/css/nav.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/nav2.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/swiper.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/global.css\" rel=\"stylesheet\">



</head>
<body class=\"index\">
{include \"header.html\"}
<div class=\"Case_banner\">
	<div class=\"Case_banner_img\"><img src=\"/static/skin/images/bg9.jpg\" /></div>
    <div class=\"Case_banner_txt\">
    	<dd>客户案例</dd>
        <dt>
        	<p>集团、政府、教育、产品等网站需要与公众媒体，上级领导，内部员工，投资合作者，</p>
            <p>应聘者，消费者和供应商，子公司或下级部门等目标人群进行沟通。如何满足这些人群的需求</p>
        </dt>
        <a href=\"#\">立即咨询</a>
    </div>
</div>





<div class=\"pc_all Case_nav\">
	<div class=\"pc_all_content\">
    {cat pid=\"43\"}
    	<a href=\"{\$v.caturl}\" class=\"Case_nav_list {if \$catid==\$v.catid}on{/if}\">{\$v.name}</a>
    {/cat}
    </div>
</div>




<div class=\"pc_all Topic_case\">
	<div class=\"pc_all_content\">
    	<div class=\"Topic_case_content\">
        {foreach \$data as \$key=>\$v}
            <a href=\"javascript:;\" class=\"case_content_list\">
                <div class=\"content_list_top\">
                <div class=\"list_top_logo\"><img src=\"{\$v.thumb}\"></div>
                <div class=\"list_top_title\">{\$v.title}</div>
                </div>
                <div class=\"content_list_txt\">{\$v.description}</div>
             </a>
        {/foreach}
        </div>
	</div>
</div>


{include \"footer.html\"}
<script type=\"text/javascript\" src=\"/static/skin/js/jquery-3.5.1.min.js\"></script>
<script src=\"/static/skin/js/global.js\"></script>
<script src=\"/static/skin/js/wow.js\"></script>
<script src=\"/static/skin/js/nav.js\"></script>

<script>
    wow = new WOW(
      {
        animateClass: ''animated'',
        offset:       80
      }
    );
    wow.init();
    
    //判断浏览器大小加上事件
	var width=\$(window).width();
	if(width <= 700) {
		   wow = new WOW(
	      {
	        animateClass: ''animated'',
	        offset:       50
	      }
	    );
	    wow.init();
	}
</script>
</body>
</html>');");
$this->E_D("replace into `db_template_recycle` values('25','1636966554','集锦学院-详情模板',NULL,'view',NULL,'0','0','<!DOCTYPE html>
<html class=\"\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"content-type\" content=\"text/html\" />
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"renderer\" content=\"webkit\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">
<title>{\$pagetitle}-{\$sitename}</title>
<meta name=\"keywords\" content=\"{\$keywords}\">
<meta name=\"description\" content=\"{\$description}\">
<link href=\"/static/skin/css/font-awesome.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/static/skin/css/animate.min.css\">
<link href=\"/static/skin/css/nav.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/nav2.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/swiper.css\" rel=\"stylesheet\">
<link href=\"/static/skin/css/global.css\" rel=\"stylesheet\">



</head>
<body class=\"index\">
{include \"header.html\"}
<div class=\"Case_banner News_banner\">
  <div class=\"Case_banner_img\"><img src=\"/static/skin/images/bg10.jpg\" /></div>
    <div class=\"News_banner_content\">
      <div class=\"banner_content_title\">集锦学院</div>
        <form class=\"banner_content_search\">
          <input type=\"text\" placeholder=\"请输入您要搜索的关键词\" />
          <input type=\"submit\" value=\"搜索\" />
        </form>
        <div class=\"banner_content_btn\">
          <a href=\"#\" class=\"content_btn_list\">
              <dd><img src=\"/static/skin/images/bn23.png\" /></dd>
                <dt>最佳实践</dt>
            </a>
          <a href=\"#\" class=\"content_btn_list\">
              <dd><img src=\"/static/skin/images/bn24.png\" /></dd>
                <dt>客户案例</dt>
            </a>
          <a href=\"#\" class=\"content_btn_list\">
              <dd><img src=\"/static/skin/images/bn25.png\" /></dd>
                <dt>视频中心</dt>
            </a>
          <a href=\"#\" class=\"content_btn_list\">
              <dd><img src=\"/static/skin/images/bn26.png\" /></dd>
                <dt>开发者资源</dt>
            </a>
        </div>
    </div>
</div>


<div class=\"pc_all News NewsDetails\">
	<div class=\"pc_all_content\">
      <div class=\"News_left\">
          <div class=\"News_left_title\">文章分类</div>
            <div class=\"News_left_content\">
            {cat pid=\"11\"}
                <a href=\"{\$v.caturl}\" class=\"left_content_list {if \$v.catid==\$catid}on{/if}\">
                    <dd>{\$v.name}</dd>
                    <i class=\"fa fa-angle-right\"></i>
                </a>
            {/cat}
            </div>
        </div>
        <div class=\"News_right\">
          <div class=\"News_right_title\">
              <div class=\"right_title_left\">{\$name}</div>
                <div class=\"right_title_right\">
                    {nav homeStr=\"<a href=''/''>首页</a>\" split=\"<i class=''fa fa-angle-right''></i>\"}
                </div>
            </div>
        	<div class=\"NewsDetails_left fl\"> 
               <div class=\"NewsDetails_left_top\"> 
                <h1 class=\"left_top_title\">{\$title}</h1> 
                <div class=\"left_top_txt clear\"> 
                 <dd class=\"fl\"> 
                  <span>作者：{\$author}</span> 
                  <span>|</span> 
                  <span>时间：{\$newstime|date=\"Y-m-d\"}</span> 
                  <span>|</span> 
                  <span>浏览：{\$views}</span> 
                 </dd> 
                 <dt class=\"bdsharebuttonbox fr bdshare-button-style1-16\" id=\"share\" data-bd-bind=\"1621307233253\"> 
                  <a href=\"#\" data-cmd=\"weixin\" title=\"分享到微信\"></a> 
                  <a href=\"#\" data-cmd=\"tsina\" title=\"分享到新浪微博\"></a> 
                  <a href=\"#\" data-cmd=\"sqq\" title=\"分享到QQ好友\"></a> 
                 </dt> 
                </div> 
               </div> 
               <div class=\"NewsDetails_left_bottom\"> 
                <div class=\"left_bottom_txt\">{\$newstext|raw}</div> 
                <div class=\"left_bottom_TAG clear\"></div> 
                <div class=\"left_bottom_page clear\"> 
                 <div class=\"bottom_page_left fl\"> 
                  <div class=\"page_left_list clear\"> 
                   <dd class=\"fl\">
                    上一篇：
                   </dd> 
                   {\$preinfo|raw}
                  </div> 
                  <div class=\"page_left_list clear\"> 
                   <dd class=\"fl\">
                    下一篇：
                   </dd> 
                   {\$nextinfo|raw}
                  </div> 
                 </div> 
                 <div class=\"bottom_page_right fr\"> 
                  <a href=\"javascript:;\" onclick=\"javascript:history.back(-1);\" class=\"NewsDetails_page_back fr\">返回列表</a> 
                 </div> 
                </div> 
               </div> 
              </div>
        </div>
	</div>
</div>

{include \"footer.html\"}
<script type=\"text/javascript\" src=\"/static/skin/js/jquery-3.5.1.min.js\"></script>
<script src=\"/static/skin/js/global.js\"></script>
<script src=\"/static/skin/js/wow.js\"></script>
<script src=\"/static/skin/js/nav.js\"></script>

<script>
    wow = new WOW(
      {
        animateClass: ''animated'',
        offset:       80
      }
    );
    wow.init();
    
    //判断浏览器大小加上事件
  var width=\$(window).width();
  if(width <= 700) {
       wow = new WOW(
        {
          animateClass: ''animated'',
          offset:       50
        }
      );
      wow.init();
  }
</script>
</body>
</html>');");
$this->E_D("replace into `db_template_recycle` values('27','1635150164','测试列表',NULL,'list',NULL,'0','0','筛选：{filter2 field=\"type\"}

按时间排序：{order field=\"newstime\" name=\"时间\" ascName=\"按时间正序\" descName=\"按时间倒序\" ascStyle=\"onUp\" descStyle=\"onDown\"}

默认： {order name=\"默认\" checkStyle=\"none\"}

<ul>
{foreach \$data as \$v}
  <li>{\$v.newstime}</li>
  {/foreach}
</ul>');");
$this->E_D("replace into `db_template_recycle` values('36','1635216154','创新发展',NULL,'public','innovate','0','0','{include \"header.html\"}


<div class=\"DetailsBanner\">
    <div class=\"DetailsBanner_img\"><img src=\"{\$thumb}\"/></div>
    <div class=\"DetailsBanner_txt\">
        <div class=\"DetailsBanner_txt_dd\">{\$name}</div>
        <div class=\"DetailsBanner_txt_dt\">
            {nav}
        </div>
    </div>
</div>


<div class=\"DetailsNav\">
    {cat pid=\"59\"}
    <a href=\"{\$v.caturl}\" class=\"DetailsNav_list {if \$catid == \$v.catid}on{/if}\">{\$v.name}</a>
    {/cat}
</div>');");
$this->E_D("replace into `db_template_recycle` values('63','1635840791','留言反馈',NULL,'public','message','0','0','<div class=\"pc_all Honor DHonor Product Contact2\" id=\"Contact2\">
    <div class=\"pc_all_content\">
        <div class=\"DHonor_title\">
            <div class=\"DHonor_title_left\">
                <div class=\"title_left_dd wow fadeInUp\" data-wow-delay=\"0.1s\">feedback</div>
                <div class=\"title_left_dt wow fadeInUp\" data-wow-delay=\"0.2s\">留言反馈</div>
                <div class=\"title_left_p wow fadeInUp\" data-wow-delay=\"0.3s\">如果您有问题，请与我们联系。提交表格，我们会尽快回复您！</div>
            </div>
        </div>
        <form class=\"Contact2_content\" onsubmit=\"return false;\">
            <input type=\"text\" class=\" wow fadeInUp\" data-wow-delay=\"0.1s\" placeholder=\"请输入您的姓名\" id=\"name\"/>
            <input type=\"text\" class=\" wow fadeInUp\" data-wow-delay=\"0.2s\" placeholder=\"请输入您的公司名称\" id=\"gongsi\"/>
            <input type=\"tel\" class=\" wow fadeInUp\" data-wow-delay=\"0.3s\" placeholder=\"请输入您的联系电话\" id=\"tel\"/>
            <input type=\"email\" class=\" wow fadeInUp\" data-wow-delay=\"0.4s\" placeholder=\"请输入您的电子邮箱\" id=\"email\"/>
            <textarea placeholder=\"请输入您的留言内容\" class=\" wow fadeInUp\" data-wow-delay=\"0.1s\" id=\"message\"></textarea>
<!--            <input type=\"submit\" value=\"立即提交\" class=\" wow fadeInUp\" data-wow-delay=\"0.2s\" onclick=\"submit()\"/>-->
        </form>
        <input type=\"submit\" value=\"立即提交\" class=\" wow fadeInUp\" data-wow-delay=\"0.2s\" onclick=\"submit()\"/>
    </div>
</div>
<script src=\"/static/admin/layui/layui.js\"></script>
<script src=\"/static/admin/layui/layui.all.js\"></script>
<script>
    function submit(){
        var name = \$(''#name'').val();
        var gongsi = \$(''#gongsi'').val();
        var mobile = \$(''#tel'').val();
        var email = \$(''#email'').val();
        var message = \$(''#message'').val();
        \$.ajax({
            url: \"/index/index/message\",
            type: ''get'',
            async: true,
            dataType: ''json'',
            data: {name:name,gongsi:gongsi,mobile:mobile,email:email,content:message},
            success: function (data) {
                layer.msg(data.msg);
            }
        })
    }
</script>');");

 ?>